<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
Route::any('index/room_unlock','index/Index/roomUnlock');

Route::any('account/login','index/Account/login');

Route::any('account/register','index/Account/register');

Route::get('account/user_info','index/Account/userInfo');

Route::post('account/edit_user','index/Account/editUserInfo');

Route::get('account/logout','index/Account/logout');
//用户撤回消息
Route::post('index/recall_message','index/Index/recallMessage');
//管理员撤回消息
Route::post('index/power_recall_message','index/Index/powerRecallMessage');
//审核消息
Route::post('index/audit_message','index/Index/auditMessage');
//禁言
Route::post('index/prohibitSpeak','index/Index/prohibitSpeak');
//解禁言
Route::post('index/releaseSpeak','index/Index/releaseSpeak');
//踢出客户端
Route::post('index/outClient','index/Index/outClient');
//获取历史消息
Route::post('index/getMessage','index/Index/getMessage');
//获取历史消息
Route::get('index/save_url','index/Index/saveUrl');
//切换讲师
Route::post('index/change_live','index/Index/changeLive');
//上传图片
Route::post('index/upload_img','index/Index/uploadImage');
//文章
Route::get('/article','index/Article/index');
//老师
Route::get('/teacher','index/Teacher/index');
//客服登录界面
Route::get('/service','index/Service/index');
//客户打开客服
Route::get('/services/open_service','index/Service/openService');